Uniform binary search